package com.example.mybatisplus.model.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author lxp
 * @since 2023-01-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("mms_division")
@ApiModel(value="Division对象", description="")
public class Division extends Model<Division> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序号")
    @TableId("no")
    private Integer no;

    @ApiModelProperty(value = "兵团师")
    private String division;

    @ApiModelProperty(value = "成立时间")
    private String date;

    @ApiModelProperty(value = "驻地")
    private String resident;

    @ApiModelProperty(value = "农牧团场")
    private String farming;

    @ApiModelProperty(value = "备注")
    private String remarks;


    @Override
    protected Serializable pkVal() {
        return this.no;
    }

}
